package com.yuyou.tas.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yuyou.tas.admin.mapper.CommKeyConfigMapper;
import com.yuyou.tas.admin.service.ICommKeyConfigService;
import com.yuyou.tas.service.api.admin.entity.CommKeyConfig;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

@Service
public class CommKeyConfigServiceImpl implements ICommKeyConfigService {

	@Autowired
	private CommKeyConfigMapper commKeyConfigMapper;
	
	@Override
	public ResBoolSimpleInfo<CommKeyConfig> selectByDataKey(String dataKey) {
		CommKeyConfig c=commKeyConfigMapper.selectByDataKey(dataKey);
		return new ResBoolSimpleInfo<CommKeyConfig>(true,null,c);
	}


}